module.exports = {

  devServer: {
    proxy: {
      '/api': {
        target: 'http://localhost:9999',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  },
  chainWebpack: config => {
    config.module
      .rule('raw')
      .test(/\.bpmn$/)
      .use('raw-loader')
      .loader('raw-loader')
      .end()
  }
}